<?php
	include 'header.php';
	include 'menu.php';

	if(isset($_GET['page'])){
		$page = $_GET['page'];
		if(!file_exists($page . '.php')){
			//$page = 'notfound';
			echo 'Page not found';
		}
	}
// 	else {
// 	 	$page = 'homepage';
// 	}
	include ($page . '.php'); 
	
	include 'secondary-content.php';
	include 'footer.php'; 
?>